import 'package:flutter/material.dart';

import 'clothing.dart';

class Favorite extends StatefulWidget {
  const Favorite({super.key});

  @override
  State<Favorite> createState() => _FavoriteState();
}

class _FavoriteState extends State<Favorite> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        body: Column(
      children: [
        Padding(padding: EdgeInsets.only(top: 60)),
        Row(
          mainAxisAlignment: MainAxisAlignment.spaceBetween,
          children: [
            Container(
              margin: EdgeInsets.only(
                left: 20,
              ),
              width: 60,
              height: 60,
              decoration: BoxDecoration(
                  color: Color.fromRGBO(245, 245, 245, 1.0),
                  borderRadius: BorderRadius.circular(20)),
              child: const Center(
                child: Image(
                  image: AssetImage(
                    'images/Icon/Arrow - Left 3.png',
                  ),
                  width: 30,
                  height: 30,
                ),
              ),
            ),
            Container(
              child: Text(
                'Favorite',
                style: TextStyle(fontSize: 22, fontWeight: FontWeight.w600),
              ),
            ),
            Container(
              margin: EdgeInsets.only(
                right: 20,
              ),
              width: 60,
              height: 60,
              decoration: BoxDecoration(
                  color: Color.fromRGBO(245, 245, 245, 1.0),
                  borderRadius: BorderRadius.circular(20)),
              child: const Center(
                child: Image(
                  image: AssetImage(
                    'images/Icon/more vertical.png',
                  ),
                  width: 30,
                  height: 30,
                ),
              ),
            ),
          ],
        ),
        Flexible(
          child: ListView(
            padding: EdgeInsets.zero,
            children: const [
              Row(
                mainAxisAlignment: MainAxisAlignment.spaceEvenly,
                crossAxisAlignment: CrossAxisAlignment.start,
                children: [
                  Column(
                    children: [
                      kp(
                        images:
                        'images/Image/full-length-portrait-cute-little-kid-boy-stylish-jeans-clothes-smiling-standing-white-kids-fashion-concept 1.png',
                        text: 'Warm Jeans Shirts',
                        money: '\$14.00',
                      ),
                      kp(
                        images:
                        'images/Image/two-beautiful-girls-pastel 1.png',
                        text: 'Jeans Shirts',
                        money: '\$12.00',
                      ),
                      kp(
                        images:
                        'images/Image/full-length-portrait-cute-little-kid-boy-stylish-jeans-clothes-smiling-standing-white-kids-fashion-concept 1.png',
                        text: 'Warm Jeans Shirts',
                        money: '\$14.00',
                      ),
                    ],
                  ),
                  Column(
                    children: [
                      kp(
                        images:
                        'images/Image/full-length-portrait-cute-little-teen-girl-stylish-jeans-clothes-looking-camera-smiling-against-white-studio-wall-kids-fashion-concept 1.png',
                        text: 'Warm Ladis Shirts',
                        money: '\$15.00',
                      ),
                      kp(
                        images:
                        'images/Image/pretty-young-boy-casual-clothes-white-wall-fashionable-posing-caucasian-male-preschooler-with-bright-facial-emotions-childhood-expression-having-fun-posing-crossed-hands 1.png',
                        text: 'Warm Shirts',
                        money: '\$12.00',
                      ),
                      kp(
                        images:
                        'images/Image/full-length-portrait-cute-little-teen-girl-stylish-jeans-clothes-looking-camera-smiling-against-white-studio-wall-kids-fashion-concept 1.png',
                        text: 'Warm Ladis Shirts',
                        money: '\$15.00',
                      ),
                    ],
                  )
                ],
              )
            ],
          ),
        ),
      ],
    ));
  }
}
